<?php if (!defined('THINK_PATH')) exit();?><div>
	<form id="send-sms-form" onsubmit="return false;">
		<table class="table table-bordered table-hover">
		<tbody>
			<tr><td width=80>记录编号</td><td><?php echo ($list["inbox_id"]); ?></td></tr>
			<tr><td>短信条数</td><td><?php echo ($list["mobile_amount"]); ?></td></tr>
			<tr><td>审核状态</td><td><?php switch($list["audit"]): case "1": ?><span class="label label-success">审核通过</span><?php break; case "-1": ?><span class="label label-important">审核未过</span><?php break; case "0": ?>未审核<?php break; default: ?><span class="label label-warning">参数出错</span><?php endswitch;?></td></tr>
			<tr><td>短信状态</td><td><?php switch($list["status"]): case "1": ?><span class="label label-success">发送队列中</span><?php break; case "-1": ?><span class="label label-important">垃圾箱</span><?php break; case "0": ?><span class="label label-info">草稿</span><?php break; default: ?><span class="label label-warning">参数出错</span><?php endswitch;?></td></tr>
			<tr><td>创建时间</td><td><?php echo ($list["create_time"]); ?></td></tr>
			<tr><td>发送时间</td><td><?php echo ($list["send_time"]); ?></td></tr>
			<tr><td>短信内容</td><td><?php echo ($list["sms_content"]); ?></td></tr>
			<tr><td>操作</td><td><!---<span class="label label-info" style="cursor:pointer">编辑</span>-->
			<span class="label label-success" style="cursor:pointer;margin-left:5px" onclick="exportPhone(<?php echo ($list["inbox_id"]); ?>)">导出</span></td></td></tr>
			<tr><td>手机号</td><td><div style="text-align:left;word-break:break-all;"><?php echo ($list["mobiles"]); ?></div></td></tr>
		</tbody>
	</table>
	</form>
</div>
<script>
	$("#datetimepicker").datetimepicker({format:"yyyy-MM-dd hh:mm:ss"});
	$.getScript("__PUBLIC__/js/jquery/jquery.form.js",function(){
		$("#send-sms-form").submit(function(){
			$(this).ajaxSubmit({
				url:'__APP__/SMS/smsSend',
				dataType:'json',
				success:function(json){
					$.warn('提示',json.info);
				}
			});
		});
	});
</script>